# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-desktop
pkgver=1.24.0
pkgrel=0
pkgdesc="The MATE Desktop Environment"
url="https://wiki.mate-desktop.org/mate-desktop"
arch="all !s390x !mips !mips64" # librsvg
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
depends="mate-common yelp-tools"
makedepends="startup-notification itstool intltool dconf-dev gtk+3.0-dev
	libxrandr-dev libxml2-utils iso-codes-dev librsvg"
subpackages="$pkgname-lang $pkgname-dev $pkgname-doc"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-desktop-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-static=no \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ca60325e7f6167efd21bdd32ae40c2f2bf5ae9bef85f0a43afec05d50567fb650fc0426d94c510b3a42c625dc4b2d31d7559befa50cfbb6d9878635558a52323  mate-desktop-1.24.0.tar.xz"
